package id

import (
	"zin/framework"
	"zin/framework/contract"
)

type ProviderId struct {
}

func (provider *ProviderId) Register(c framework.Container) framework.NewInstance {
	return NewProviderServiceId
}

func (provider *ProviderId) Boot(c framework.Container) error {
	return nil
}

func (provider *ProviderId) IsDefer() bool {
	return false
}

func (provider *ProviderId) Params(param map[string]interface{}) map[string]interface{}{
	return param
}

func (provider *ProviderId) Name() string {
	return contract.ProviderKeyId
}
